package com.avic.rong.userOrder;

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;

import com.avic.rong.R;
import com.avic.rong.wedgit.MyViewPager;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by XinEr on 2019/7/19.
 * Describe:
 */
public class OrderPathDialogFragment extends DialogFragment implements View.OnClickListener {

    private LinearLayout ll_points;
    private MyViewPager vp_dislog;
    Map<Integer, Integer> map = new HashMap();
    private int selectPosition=-1;
    private String postion;
    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.order_path_dialog, container);
        Bundle bundle = getArguments();
        //这里就拿到了之前传递的参数
        postion=bundle.getString("postion");
        initView(view);
        return view;
    }

    private void initView(View view) {


    }

    @Override
    public void onClick(View v) {

    }
}
